#ifndef DETAILVIEW_H
#define DETAILVIEW_H

#include <QWidget>
#include <QTextEdit>
#include <QTreeView>
#include <QStandardItemModel>

class DetailView : public QWidget {
    Q_OBJECT

public:
    explicit DetailView(QWidget *parent = nullptr);
    
    void showDetails(const QModelIndex &index);
    void clear();

private:
    QTextEdit *m_textEdit;
};

#endif // DETAILVIEW_H
